home *** CD-ROM | disk | FTP | other *** search
-
- INSQUE(3) UNIX Programmer's Manual INSQUE(3)
-
- NNAAMMEE
- iinnssqquuee, rreemmqquuee - insert/remove element from a queue
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<sseeaarrcchh..hh>>
-
- _s_t_r_u_c_t _q_e_l_e_m _{
- _s_t_r_u_c_t _q_e_l_e_m _*_q___f_o_r_w_;
- _s_t_r_u_c_t _q_e_l_e_m _*_q___b_a_c_k_;
- _c_h_a_r _q___d_a_t_a_[_]_;
- _}_;
- _v_o_i_d
- iinnssqquuee(_s_t_r_u_c_t _q_e_l_e_m _*_e_l_e_m, _s_t_r_u_c_t _q_e_l_e_m _*_p_r_e_d)
-
- _v_o_i_d
- rreemmqquuee(_s_t_r_u_c_t _q_e_l_e_m _*_e_l_e_m)
-
- DDEESSCCRRIIPPTTIIOONN
- TThheessee iinntteerrffaacceess aarree aavvaaiillaabbllee ffrroomm tthhee ccoommppaattiibbiilliittyy lliibbrraarryy,, lliibbccoommppaatt..
-
-
- iinnssqquuee() and rreemmqquuee() manipulate queues built from doubly linked lists.
- Each element in the queue must begin with a "struct qelem".
-
- DDIIAAGGNNOOSSTTIICCSS
- These functions are not atomic unless that machine architecture allows
- it.
-
- HHIISSTTOORRYY
- These are derived from the insque and remque instructions on a VAX.
-
-
- August 12, 1993 1
-